package com.eu.ebpm.engine.exception;

/**
 * 流程未激活
 * @author 王晓华
 * @since 2015-7-25 下午8:22:24
 * @version v1.0
 */
public class NonactivatedExcpetion extends WorkFlowException {

	private static final long serialVersionUID = 1L;
	
	public NonactivatedExcpetion() {
	}

	public NonactivatedExcpetion(String message) {
		super(message);
	}
	
	public NonactivatedExcpetion(String errorCode, String message) {
		super(message);
		this.errorCode = errorCode;
	}

	public NonactivatedExcpetion(Throwable cause) {
		super(cause);
	}

	public NonactivatedExcpetion(String message, Throwable cause) {
		super(message, cause);
	}
	
	public NonactivatedExcpetion(ErrorCode errorCode) {
		super(errorCode.getDesc());
		this.errorCode = errorCode.getCode();
	}

}
